<%@ page errorPage="Error.jsp" %>
<%@ include file="Header.jsp" %>

<table border="0">
  <tr>
    <td>
      <form id="ClearForm" method="POST" action="controller">
        <input type="hidden" name="CommandName" value="Clear">
        <input type="submit" value="Clear" name="clear">
      </form>
    </td>
    <td>
      <form id="DisplayForm" method="POST" action="controller">
        <input type="hidden" name="CommandName" value="Display">
        <input type="submit" value="Display" name="display">
      </form>
    </td>
  </tr>
</table>

Current stack contents (if any):
<table id="stackTable" border="1">
  <c:forEach var="element" items="${stackIterator}">
      <tr><td><c:out value="${element}"/></td></tr>
  </c:forEach>
</table>

<p>
<table id="ErrorMessageTable">
  <tr><td><font color="red"><c:out value="${errorMessage}"/></font></td></tr>
</table>

<%@ include file="Footer.jsp" %>